ftp

Suggested permissions for website files

As the title suggests, I am curious as to the suggested file/directory permissions for HTML, CSS, Javascript, PHP, etc files on a website. Prior to today, I have never really thought about it because I used FileZilla on my Windows computer, and it seemed to take care of permissions just fine. I recently switched to Mac, and am using Cyb...

FTP GUI client for Unix-like platform capable of TLS/SSL/SFTP

I know similar questions were already asked and answered, but not exactly the same. I'm looking for a FTP client that can do TLS/SSL connection and SFTP aswell on Linux with a nice GUI. This is main requirement, though tabbed session are a plus. FTPRush is my idol for FTP-ing on Windows, something similar on linux would be a rockstar. ...

ftp file from server1 to server2 in unix

i am a shell scripting noob. i currently have a cronjob that runs every 15mts and check to see if a file exists. If it exists, it takes the file and processes and then deletes it Now, instead of deleting it, i want to make a copy and ftp it to Server2 below is the delete script. i want to modify it so that it makes a copy of the file...

Why doesn't Perl's Net::FTP upload my file?

I am trying to upload multiple files via Net::FTP and Perl. Has anyone done this as even my basic script below fails? use Net::FTP; use File::Basename; my $ftp; my $host ='56.309.24.2'; my $user ='user'; my $pw ='pass'; my $file ='097360718843.jpeg'; my $path ='public_html/uploaded/product_images'; chomp($host,$user,$pw,$path, $fil...

proxies in python ftp application

I'm developing ftp client in python ftplib. How do i add proxies support to it (most ftp apps i seen seem to have it)? I'm especially thinking about socks proxies, but also other types... ftp, http (is it even possible to use http proxies with ftp program?) Any ideas how to do it? ...

SQL Server Openrowset using FTP

My users upload excel files to a folder on the web server. I execute a sproc on the sql server that uses openrowset to open the excel file and import the data into a db table. All of this works great when the sql server and the web server are on the same machine (dev environment) but not when they are separate. I found a post that des...

FTP or Samba for hired VPS ?

I have a couple of websites in a couple of VPS. Obviously is not in my network because I hire a VPS provider. Now, what do you say is better practice. Use FTP to upload new versions of my software or NFS/SMB ? I think these 2 are my only posibilities. Thanks. ...

FtpWebRequest move file

I am putting together a simple app and I have it working for uploading, downloading, deleting files using FtpWebRequest. But I cannot find how to move a file using FtpWebRequest. What is the simplest way to move a file from one dir to another without using another external dependancy? Thanks in advance. ...

In VS2008, for FTP Publishing of a website, is there a way to save FTP Logon password?

I like the Visual Studio 2008 IDE integrated (not command line) feature to choose to publish an ASP.NET website to my webserver via FTP. I'm able to store my FTP username but I don't see any option to store my FTP password and so I must type it in each time I publish. Is there an equivalent to the "Remember password" functionality foun...

download file from ftp using php

I am trying to make a application in which admin will be able to see the files from particular folder(predefined) and should be able to download them one by one. The files will be stored on the server. Can someone guide me how to do this? ...

Moving more than one file with ftp OpenCF.FTP

Can I move more than 1 file at the same time? Right now, I move one file, then if this is successful move another....with delegates and all. I was wondering if there was a simpler way to do this. This lib lacks examples. I constantly find weird little things in my app that end up being hiccups; and I am not sure whether it is my code or...

Using FTP how do I rename a directory with trailing spaces?

I have a directory on my website the has two trailing spaces (automatically created) and now I need to rename it to the same name with out the spaces. For example: ren "BON N ALL " "BON N ALL" But I keep getting; ftp> ren "BON N ALL " "BON N ALL" 550 BON N ALL : The system cannot find the file specified. I've tried using wildcar...

Python FTP Most Recent File

How do I determine the most recently modified file from an ftp directory listing? I used the max function on the unix timestamp locally, but the ftp listing is harder to parse. The contents of each line is only separated by a space. from ftplib import FTP ftp = FTP('ftp.cwi.nl') ftp.login() data = [] ftp.dir(data.append) ftp.quit() for...

Alternative to OpenCF.FTP - stable

Hi everyone, I am looking for a STABLE FTP library for Compact Framework. I would prefer a library where I don't have to fix or step through any code, but just use as is. While the free OpenCf.FTP is great, I think it is at this point creating more work for me than my actual coding and I am afraid I don't have time allotted for this. ...

Unable to untar a file?

I have written a shellscript which tries to pull a tar file from an ftp server and untar it locally. I need to extract specific files from the tar archive. The filename of the tarfile contains a date; I need to be able to select a tar file based on this date. abc_myfile_$date.tar is the format of the file I am pulling from the ftp serve...

FTP cannot access virtual folder

I've created a virtual folder for a folder residing at C:\Documents and Settings\..\Data Remote users are able to see the base folder of the FTP site, but are unable to see the Virtual folder. Is sharing a folder in the path forbidden? -zeekial ...

PHP ftp_put - file not Found or no access

How is one supposed to handle files that aren't in the current directory when using ftp_put? This piece of code is trying to upload a file that I know exists, but it always gives the following error: "Warning: ftp_put() [function.ftp-put]: Requested action not taken, file not found or no access. in /path/to/files/domains/mydomain.com/ht...

Watch for files in a folder in VB.net

I need to watch a folder in our network and if any files get dropped in any time of the day I need to ftp to a different folder. What do you think is a feasible approach? Please post links if you have any that will take me in right direction. ...

FTP over SSL for C#

I'm using the code below (needs to be .Net 2.0) to connect on a UAT server to a customer FTP server to up/down load files. I need to connect over port 990, using a self signed certificate supplied by them. I've got the firewall rules amended to allow connection to the URI on port 990 from our UAT server. However (! :) ) I get a timeout ...

using .netrc with sftp

I've some existing scripts wherein am using ftp + .netrc. I want to switch to sftp now but it seems it doesn't support macros / .netrc. Is there any other alternative? Please help. ...