ShootingBlanks Posted May 9, 2008 Share Posted May 9, 2008 I'm sure this is an easy question for anyone who deals with file uploads, but I am doing this for the first time... I have a basic file-upload form. I tested it locally, and it puts files to the local folder that it is supposed to. I can then launch those uploaded files on my computer from that local folder... I put the PHP page on my webserver, and when I upload a file I can log into my FTP site and see that it is there online. However, when I type the URL in an internet browser to launch it, I just get a dead-link page. So, for example, I will SEE the following file in my FTP program when I log onto my server: www.mywebsite.com/uploads/MyUploadedFile.doc But when I actually type that URL into a browser, I get nothing. Even odder than that is the fact that if I just manually file-transfer a file (using the FTP program) to that same directory, it works fine!... Any ideas? Thanks!... Link to comment https://forums.phpfreaks.com/topic/104911-uploads-appear-on-server-but-cannot-be-viewed-online/ Share on other sites More sharing options...
NorthWestSimulations Posted May 9, 2008 Share Posted May 9, 2008 maybe theres packet-loss between you and the server. The file is getting corrupted and does not understand how to open it so it displays a dead link? Link to comment https://forums.phpfreaks.com/topic/104911-uploads-appear-on-server-but-cannot-be-viewed-online/#findComment-537102 Share on other sites More sharing options...
ShootingBlanks Posted May 9, 2008 Author Share Posted May 9, 2008 maybe theres packet-loss between you and the server. The file is getting corrupted and does not understand how to open it so it displays a dead link? I just tried logging into my FTP server. I went into the folder where the uploaded file was, and I pulled it down into a new folder on my local hard drive. It opened up fine. This makes no sense!... Here's the link to the form for you to test yourself: http://www.shootingblanks.net/TEMP/php/uploading/upload_form.php Here's the link to the file (that for some reason is coming up dead): http://www.shootingblanks.net/TEMP/uploads/AtTheOffice.jpg Thanks. Link to comment https://forums.phpfreaks.com/topic/104911-uploads-appear-on-server-but-cannot-be-viewed-online/#findComment-537112 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.