Hi,
In my app, user can upload files to a ftp server. To open the connection and write to the server, I need to use username and password. Having FTP username and password in the code looks like a security issue.
Can someone please tell me how can I securely store this in my code and use it to connect to the server?
Thanks a lot!
...
My ftp is truncating data. Using a different product we are able to change the tranmissions size and it works. But I can't figure out hwo to do it in .NET.
// FTP the file
FtpWebRequest ftp = (FtpWebRequest)FtpWebRequest.Create(ftpfullpath);
ftp.Credentials = new NetworkCredential(user, pwd);
...
I use a combination of ForkLift and Textmate to edit files on a remote server via FTP. it works really well, except for one little quirk: when I hit save on Textmate, Forklift saves the file, and then Forklift takes the focus. So, every time I hit Save on Textmate, I have to wait for Forklift to save, and then hit Cmd + Tab to return to ...
Hi,
I am trying to make a FTP client in c#. I found a class that support basic FTP commands on http://msdn.microsoft.com/en-us/library/system.net.webrequestmethods.ftp_members.aspx.
on the list, PORT command is missing.
How do I use PORT command in c#?
...
I have a .NET 2.0 console app. I am writing out data to a dtl file to be ftp'ed to an AS/400 server.Each line have to 1786 bytes. If I open the file in notepad, each line is, in fact, 1786. However, when I ftp it, the guy on the other end is saying there is data bneing truncated. He can't give me any more info, but he seems to think that...
What is the best method to make sure that a file that is transferred via ftp has finished before another process attempts to move/copy that file?
...
I have an Excel worksheet where the user enters certain data, which I want to store in a text file and upload to a server using FTP. One site suggested adding a reference to "Microsoft Internet Transfer Control" and then define an "Inet" object to do the FTP. However, I am unable to find a reference with this name in "Tools -> References...
EDIT: I got it working it just won't download anything...
So here is my code simplified now:
notions_ftp = ftplib.FTP(ftp_host, ftp_user, ftp_passwd)
folder = "Leisure Arts - Images"
notions_ftp.cwd(folder)
image = open("015693PR-com.jpg","wb")
notions_ftp.retrlines("RETR 015693PR-com.jpg", image.write)
send_image = open("015693PR-com....
Hello!
My FTP client (apache commons ftpclient) needs to download file from FTP.
The problem is that an external service may not have finished writing to this file before I start downloading.
Is there any way to determine via FTP whether the file is already closed (i.e. there is no writing handlers opened)?
The problem is that I cann...
Could anyone recommend FTP / SFTP client C/C++ library for Linux-based embedded system? I know about Curl library but I need something as simple as possible just to download files from FTP / SFTP servers. Is there any recommendation to look for? Yes, SFTP support is critical. Actually I can even sacrifice multi-threading because I need o...
How to deploy war file in Filezila FTP?
...
I have been trying to ftp a dtl file from .net to, what I beleive, is an AS400. The error being reported back to me is: "One or more lines have been truncated" and the admin is saying the file is coming over with 256 lines that have variable length columns. I found this explanation online:
we have to establish defaults because no specif...
Hi there, we've recently stumbled across the excellent Dispatch for ASP FTP deployment plug in. It looks great apart from one thing: It doesn't work with Visual Studio 2010, at least for us, anyway. (It's supposed to work fine.)
(Yes, we've tried everything: We've managed to get Dispatch working for another FTP site, but not the main on...
Hi,
I am very new to website design. Have an architect who wants his clients to enable his clients to upload (ftp - but don't know if http could be a better alternative?) files (plans etc.) to him, through the website I'm designing for him.
I have seen similar things available on printers websites...
I have seen uploadify, but it requ...
I'm having trouble disconnecting from a ftp-server, using the enterprisedt java ftp framework.
I can simply not call disconnect() on a FileTransferClient object without getting an error.
I do not do anything, besides connecting to the server, and then disconnecting:
// create client
log.info("Creating FTP client");
...
I need to implement an FTP service inside my .NET application (running as a Windows Service) and have not had much luck finding good/current source code or vendors. Ideally it needs to be able to respond to the basic FTP Protocol and accept the data stream from an upload via a stream, enabling me to process the data as it is being recei...
Scenario:
Local git repo, default master branch
FTP server with content of the repo (non git), synchronized daily with the local repo, master branch
Workflow:
user1 is working on local git repo (git add, working directory clean)
user2 (non git user) changed files directly on the FTP server
How can I import all files changed on FT...
i need the source code of an application that can upload and download automatically from the remote computer (FTP) using java language. thanks
...
i have several old, unused batches that i'm redoing.. I have a batch file for an old network
arch from several years ago..
the main thing I'd like it to do now is read a list of files.. I'll explain the setup..
Server updates a complete list [CurrentMediaStores.txt] 2x a day. The laptops can set settings to DL this list through their st...
Hi
I'm trying to get the time interval I need to download/upload something to/from a server with no password/proxy.
I found a method used by ericasadun. Which actually prints the time iPhone needed to download a certain file.
- (void) getData: (NSNumber *) which
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init...