Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.2k views
in .NET FTP by (160 points)
when i uploading below 4 mb is uploading to ftp site .. but greter then 4 mb is not uploading that page is expired, i did't understand to how i proced



uploading file i select on (client) local c:\ drive that file is not accepting this edtFTPnet dll..it will show
c:\\filename path access denied

but i selected file into d or e drive that files are selecting

i am using free virsion dll
please help me





My function code please check it



try{

ftp.Login("Administrator", "insoft");

ftp.ConnectMode = FTPConnectMode.PASV;

ftp.TransferType = FTPTransferType.ASCII;

if(ftpConnection1.IsConnected)

{

ftp.Put(sPostedFile,sTempname);

}

}

Catch(Exception ex)

{ string str = ex.Message.ToString();

}

Here sPosted file and stempfiles are public strings

1 Answer

0 votes
by (162k points)
You have 2 problems here.

Your code is running on the server, not your machine, therefore it doesn't have access to your local drives. You cannot use FTP in this way.

Secondly, because it is a big upload, your HTTP request is timing out.

You will need to rethink what you are doing. You can't use an ASP to upload from your local machine, you have to use HTTP uploads.

Categories

...